home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Directorty Opus 5 - Magellan 2
/
Opus 5 - Magellan 2.iso
/
DOpus_SDK_5.5
/
include
/
dopus
/
icon.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-08-29
|
902b
|
33 lines
#ifndef _DOPUS_ICON
#define _DOPUS_ICON
/*****************************************************************************
Icon support
*****************************************************************************/
// Copy icon from one file to another
void CopyFileIcon(char *,char *);
// Special icon flags
#define ICONF_POSITION_OK (1<<31) // Opus position stored in icon
#define ICONF_NO_BORDER (1<<28) // No icon border
#define ICONF_NO_LABEL (1<<27) // No label
ULONG GetIconFlags(struct DiskObject *);
void SetIconFlags(struct DiskObject *,ULONG);
void GetIconPosition(struct DiskObject *,short *,short *);
void SetIconPosition(struct DiskObject *,short,short);
// Icon caching
struct DiskObject *GetCachedDefDiskObject(long);
void FreeCachedDiskObject(struct DiskObject *);
struct DiskObject *GetCachedDiskObject(char *);
struct DiskObject *GetCachedDiskObjectNew(char *);
#endif